Update the package reference to a new location;
Parent Type: PackageStore
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| C# |
|
protected void UpdatePackageLocation ( ) |
packageId
The unique identifier of the package to update.
location
The new location of the package reference. This may not be null or empty.
| Exception type | Condition |
| ArgumentException | Thrown if location is empty. |
| ArgumentNullException | Thrown if packageId or location are not provided. |
| LearningStoreItemNotFoundException | Thrown if packageId does not represent a package in LearningStore. |